<template>
	<iframe width="100%" :height="height + 'px'" frameborder="0" src="https://static.account.xiaomi.com/html/agreement/user/zh_CN.html"></iframe>
</template>

<script>
	export default {
		data() {
			return {
				height: 0
			}
		},
		onReady() {
			this.height = uni.getSystemInfoSync().windowHeight - 4;
		}
	}
</script>